package com.agino.jdk8.learn.annotationlearn;

import java.lang.annotation.Annotation;
import java.lang.annotation.Inherited;

/**
 * @author agino
 * @date 2022/4/9 14:56
 **/
/*
@Inherited
实现了注解接口仍然不是注解，只有特定写法才会成为注解
 */
public class AnnotationTest implements Annotation {
    @Override
    public Class<? extends Annotation> annotationType() {
        return AnnotationTest.class;
    }
}
